home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
busition
/
mechsch1
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1992-06-04
|
2KB
|
76 lines
ECHO OFF
CLS
IF %1==F GOTO FLOPINS
IF %1==H GOTO HARDINS1
CLS
GO
:FLOPINS
ECHO OFF
CLS
CLS
IF %2==1 GOTO FLOPINS1
IF %2==2 GOTO FLOPINS2
CLS
GOTO END
:FLOPINS2
ECHO Enter disk 1, SALES-A, into drive A now.
PAUSE
%3
B:PKUNZIP -X B:MECH-B4.ZIP *.DB?
B:PKUNZIP -X B:MECH-B4.ZIP *.COM
B:PKUNZIP -X B:MECH-A4.ZIP AUTOFLOP.BAT
B:PKUNZIP -X B:MECH-A4.ZIP INSTALL.DOC
B:PKUNZIP -X B:MECH-A4.ZIP DEMO.DOC
B:PKUNZIP -X B:MECH-A4.ZIP REMOTE1.DOC
B:PKUNZIP -X B:MECH-A4.ZIP FOREIGN.DOC
B:PKUNZIP -X B:MECH-A4.ZIP NATIVE.DOC
COPY AUTOFLOP.BAT AUTOEXEC.BAT
CLS
ECHO Enter disk 2, SALES-B, into drive A now.
PAUSE
%3
B:PKUNZIP -X B:MECH-A4.ZIP *.LBL
B:PKUNZIP -X B:MECH-A4.ZIP PROSPECT.EXE
B:PKUNZIP -X B:MECH-A4.ZIP GO-FL.BAT
COPY GO-FL.BAT GO.BAT
DEL GO-FL.BAT
B:
CLS
ECHO Insert 'Disk 2' with GO2 into drive B now.
echo
ECHO Enter: GO2
GOTO END
:FLOPINS1
GOTO END
:HARDINS1
CLS
echo
ECHO This procedure will install all files onto your hard disk, drive %2
ECHO and will create a subdirectory, \MECHANIC.ACS.
echo
%2:
CD \
MKDIR MECHANIC.ACS
CD MECHANIC.ACS
COPY %3ECOH.COM >TMP
COPY %3YESNO.COM >TMP
COPY %3MECH-A41.EXE >TMP
MECH-A41
DEL MECH-A41.EXE
DEL AUTOFLOP.BAT
COPY %3MECH-B41.EXE >TMP
MECH-B41
DEL MECH-B41.EXE
CLS
%3
CLS
echo
ECOH Insert the second disk now into your floppy drive.
echo
ECHO Enter or type this command on the second disk:
echo
ECHO GO2
echo
:END
echo